package com.vlyman.shiro.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;

/**
 * 类描述：
 *  实体类
 *
 * @author chenjs
 * @date 2018-12-19 16:45
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@TableName("sys_button")
public class SysButton implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 按钮id
     */
    private Integer id;

    /**
     * 按钮名称
     */
    private String name;

    /**
     * 样式的id值
     */
    private String cssId;

    /**
     * 菜单id
     */
    private Integer menuId;

    /**
     * 分组id
     */
    private Integer group;

    /**
     * 是否可见(1：不可见，2：可见)
     */
    private Integer isVisible;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    private LocalDateTime modifyTime;
    public static final String ID = "id";
    public static final String NAME = "name";
    public static final String CSSID = "cssId";
    public static final String MENUID = "menuId";
    public static final String GROUP = "group";
    public static final String ISVISIBLE = "isVisible";
    public static final String CREATETIME = "createTime";
    public static final String MODIFYTIME = "modifyTime";

}
